#include <iostream>
#include <cstring>
using namespace std;
int main()
{
   int *p = new int;
   cout << p << endl;
   *p = 100;
   cout << *p << endl;
   delete p;
   p = NULL;
   char *q = new char;
   *q = 'q';
   cout << q << endl;
   cout << *q << endl;

   char *q1 = new char[32];
   // q1 = "lsfguiewahf;d";
  // cin >> q1;

   cout << *q1 << endl;
   //strcpy(q1, "wwww");
   cout << (void *)q1 << endl;
   cout << q1 << endl;
   delete [] q1;
   q1 = NULL;
   return 0;
}